package com.macro.mall.portal.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.macro.mall.portal.domain.Appraisal;
import com.macro.mall.portal.domain.Transfer;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 估价表 服务类
 * </p>
 *
 * @author db
 * @since 2021-07-04
 */
public interface IAppraisalService extends IService<Appraisal> {

    /**
     * 添加一条记录
     *
     * @param
     */
    @Transactional
    void addOne(Appraisal appraisal);

    /**
     * 分页查询记录
     *
     * @param
     * @return
     */
    IPage<Appraisal> selectBy(String openid, Integer current, Integer size);
}
